<!doctype html>
<html lang="en">
    <head>
        <!-- 加载样式及META信息 -->
        {include file="common/meta"   /}
    </head>
  <body>
 
        <!-- 头部区域 -->
        <header>

 
                {include file='common/header' /}
        </header>
 
 
 



    <div class="container-fluid " style="margin-top: 20px">



 

      
  <div class="row ">
    <div class="col-2  " style="max-width: 18rem;">
            <!-- 左侧菜单栏 -->
            <aside class="main-sidebar">
                {include file='common/menu' /}
            </aside>
    </div>
    <div class="col-5">
         


      <div class="list-group">

          <a href="{:url('admin/blog/add')}" class="list-group-item list-group-item-action flex-column align-items-start active">
          <div class="d-flex w-100 justify-content-between">
            <h5 class="mb-1">发布日志</h5>
             
          </div>
           
        </a>
        
        {volist name='blog' id='user'}
              
        <a href="{:url('blog/view',['id'=>$user.id])}" class="list-group-item list-group-item-action flex-column align-items-start">
          <div class="d-flex w-100 justify-content-between">
            <h5 class="mb-1">{$user.title|mb_substr=0,30}</h5>
            <small class="text-muted">{$user.create_time} </small>
          </div>
          <p class="mb-1"> </p>
           
        </a>
       {/volist}
      </div>

 

        
 



  
 
    </div>
    <div class="col-5">
            
           <div class="list-group">

                <a href="{:url('index/bbs')}" class="list-group-item list-group-item-action flex-column align-items-start active">
                <div class="d-flex w-100 justify-content-between">
                  <h5 class="mb-1">最新留言</h5>
                   
                </div>
                 
              </a>
              
              {volist name='bbs' id='user'}
                    
              <a href="{:url('index/view',['id'=>$user.id])}" class="list-group-item list-group-item-action flex-column align-items-start">
                <div class="d-flex w-100 justify-content-between">
                  <h5 class="mb-1">{$user.title}</h5>
                  <small class="text-muted">{$user.create_time} </small>
                </div>
                <p class="mb-1"></p>
                 
              </a>
             {/volist}
            </div>   




    </div>
     
  </div>
</div>
 

 

    <!-- 底部 -->
    <footer>
      {include file="common/footer" /}
    </footer>
    
      

   

  </body>
</html>